package com.delicious.entity;

import java.sql.Date;
public class Message {
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getPublishDate() {
		return publishDate;
	}
	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}
	public int getIsRead() {
		return isRead;
	}
	public void setIsRead(int isRead) {
		this.isRead = isRead;
	}
	private int id ;
	private String username;
	private String phone;
	private String email;
	private String content;
	private String publishDate;
	private int isRead;
	public Message(int id, String username, String phone, String email,
			String content, String publishDate, int isRead) {
		super();
		this.id = id;
		this.username = username;
		this.phone = phone;
		this.email = email;
		this.content = content;
		this.publishDate = publishDate;
		this.isRead = isRead;
	}
	
	public Message() {
		// TODO Auto-generated constructor stub
	}
	
}
